package com.guan.serviceorder.service;

import com.guan.serviceorder.entity.PayLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 支付日志表 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-04-24
 */
public interface PayLogService extends IService<PayLog> {

    Map<String, Object> createNative(String orderNo);

    /**
     * @date: 2023/4/25 11:42
     * @author: 管奇安
     * @description: 查询订单支付状态
     * @param: [orderNo]
     * @return: java.util.Map<java.lang.String,java.lang.String>
     **/
    Map<String, String> queryPayStatus(String orderNo);

    /**
     * @date: 2023/4/25 11:42
     * @author: 管奇安
     * @description: 添加支付记录和更改订单状态
     * @param: [map]
     * @return: void
     **/
    void updateOrderStatus(Map<String, String> map);
}
